import request from '@/utils/request';

export async function getPayFileInfoByPage (params: any) {
    return request('/api/project/getPayFileInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addPayFileInfo (params: any) {
    return request('/api/project/addPayFileInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updatePayFileInfo (params: any) {
    return request('/api/project/updatePayFileInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delPayFileInfo (params: any) {
    return request('/api/project/delPayFileInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportPayFileInfo(params: any) {
    return request('/api/project/exportPayFileInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getPayFileInfoByPage, addPayFileInfo, updatePayFileInfo, delPayFileInfo, exportPayFileInfo }
